class AddSurveyPermissionTypes < ActiveRecord::Migration
  def self.up
    SurveyPermissionType.delete_all
  	SurveyPermissionType.create(:name => 'fill', :description => 'fill right description...')
  	SurveyPermissionType.create(:name => 'edition', :description => 'edition right description...')
  	SurveyPermissionType.create(:name => 'stats', :description => 'stats right description...')
  	
  end

  def self.down
  	  SurveyPermissionType.delete_all
  end
end
